Skip to content

Conversation

@HechtiDerLachs
Copy link
Collaborator

I needed this for a joint project with @simon-felten. At this point, it is not clear whether we keep this for internal purposes, or whether this can grow into an honest attempt to serializing modules. In either case, there were some issues which I couldn't solve and @antonydellavecchia suggested to make a draft PR so that we can discuss them in an orderly fashion.

@jankoboehm : If you are interested in maturing this, feel free to chime in. As I said: we can keep it internal to our project, otherwise.

@HechtiDerLachs HechtiDerLachs marked this pull request as draft August 26, 2025 13:10
@HechtiDerLachs
Copy link
Collaborator Author

For the record: The current problem is that the tests won't run, even though the following code works:

R, (x, y) = QQ[:x, :y]

F = FreeMod(R, 2)
save("/tmp/mod.mrdi", F)
FF = load("/tmp/mod.mrdi")
v = x*F[1]
save("/tmp/elem.mrdi", v)
vv = load("/tmp/elem.mrdi")

I = ideal(R, [x, y])
II, inc = I*F
save("/tmp/subquo.mrdi", II)
III = load("/tmp/subquo.mrdi")
@test II == III

save("/tmp/subquoelem.mrdi", II[1])
vv = load("/tmp/subquoelem.mrdi")
@test II[1] == vv

@HechtiDerLachs HechtiDerLachs added release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes topic: commutative algebra labels Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes serialization topic: commutative algebra

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants